package com.admins.service;

import com.github.pagehelper.PageInfo;
import com.admins.entity.Image;

/**
 * @author mis_wu
 * @date 2022/1/2 15:00
 */
public interface ImageService {

    /**
     * 分页查询图片
     * @param page
     * @param size
     * @param imgName
     * @param imgDesc
     * @return
     */
    PageInfo<Image> getImagesListByPage(int page,int size,String imgName,String imgDesc);

    /**
     * 上传
     * @param image
     * @return
     */
    int collectionImg(Image image);
}
